package com.ziyun.pop.common.e.mercharReport;

import com.ziyun.pop.common.e.BaseEnum;

/**
 * @author jiangli
 * @date 2018-10-20 16:36
 * 库存交易类型:4.销售出库,5.盘亏,6.生产消耗,8.调拨出库
 */
public enum StoreOutEnum implements BaseEnum {
    STORE_OUT_TYPE_4(4, "销售出库"),
    STORE_OUT_TYPE_5(5, "盘亏"),
    STORE_OUT_TYPE_6(6, "生产消耗"),
    STORE_OUT_TYPE_8(8, "调拨出库"),
    ;

    private int id;
    private String describe;

    StoreOutEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
